void unpack (int p, int N, int status[N]);
int next_step (int N, int state[N], int j, int network[N]);
